From 9f51ed65d27d6eab597ab10f4ca848a0f5fe72e4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 19 Dec 2008 11:02:27 +0000 Subject: [PATCH] Document the problems on Windows Vista and the --with-system-malloc option to config.bat. --- msdos/INSTALL | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/msdos/INSTALL b/msdos/INSTALL index 4ba59aadaf4..e12e556107d 100644 --- a/msdos/INSTALL +++ b/msdos/INSTALL @@ -99,6 +99,25 @@ incompatible with a program by the same name supplied with DJGPP, which is used by config.bat. To resolve this, move the DJGPP's `bin' subdirectory to the front of your PATH environment variable. +Windows Vista has several bugs in its DPMI server related to memory +allocation: it fails DPMI resize memory block function, and it +arbitrarily limits the default amount of DPMI memory to 32MB. To work +around these bugs, first configure Emacs to use the `malloc' function +from the DJGPP library. To this end, run CONFIG.BAT with the +"--with-system-malloc" option: + + config --with-system-malloc msdos + make install + +In addition, you'll need to install Service Pack 1 (SP1) or later to +Windows Vista and enlarge its DPMI memory limit by setting the value +of this Registry key: + + HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Wow\DpmiLimit + +Create this key if it does not exist. The value is a DWORD; setting +it to 536870912 should let Emacs use up to 512MB of memory. + To install the international fonts, chdir to the intlfonts-X.Y directory created when you unpacked the intlfonts distribution (X.Y is the version number of the fonts' distribution), and type the following -- 2.30.2